projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc6cce
)
(do_check_ram_size): Don't hardcode the lisp address space size.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 14 Jan 2004 14:24:38 +0000
(14:24 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 14 Jan 2004 14:24:38 +0000
(14:24 +0000)
src/macterm.c
patch
|
blob
|
history
diff --git
a/src/macterm.c
b/src/macterm.c
index 29be6659c357cb42b3b6e2a317de209f152be426..fc65c4dab693f877e76868d53b191ed1fec04a06 100644
(file)
--- a/
src/macterm.c
+++ b/
src/macterm.c
@@
-6643,8
+6643,8
@@
do_check_ram_size (void)
if (Gestalt (gestaltPhysicalRAMSize, &physical_ram_size) != noErr
|| Gestalt (gestaltLogicalRAMSize, &logical_ram_size) != noErr
- || physical_ram_size >
256 * 1024 * 1024
- || logical_ram_size >
256 * 1024 * 1024
)
+ || physical_ram_size >
(1 << VALBITS)
+ || logical_ram_size >
(1 << VALBITS)
)
{
StopAlert (RAM_TOO_LARGE_ALERT_ID, NULL);
exit (1);